package com.compass.mapper;

import com.compass.entity.BaseProtocolDo;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: li
 * Date: 2019/3/31
 * Time: 15:04
 * PROJECT：compass
 * PACKAGE: com.compass
 *
 * @author:55324936@qq.com To change this template use File | Settings | File Templates.
 */
public interface BaseProtocolMapper {
    public int addComponent(BaseProtocolDo baseProtocolDo);

    public int modifyComponent(BaseProtocolDo baseProtocolDo);

    public List<BaseProtocolDo> componentList(BaseProtocolDo baseProtocolDo);

    public BaseProtocolDo getComponentById(Integer id);

    public void deleteComponent(Integer id);
}
